package com.mapeditor.util 
{
	/**
	 * ...
	 * @author SE
	 */
	public class GlobalContainer
	{
		public static var sizeGrid:Number = 10;		
		
		public static function checkPosGrid(p:Number):Number{
			var rest:Number = p % (sizeGrid);
	  		if(rest!= 0)
				p += (sizeGrid - rest);
			return p;
		}
	}

}